package com.yra.mapper;

import com.yra.domain.Carousel;
import com.yra.util.PageQueryUtil;

import java.util.List;

/**
 * @Author: yrq
 * @Date: Create in 9:36 2019/12/17
 */
public interface CarouselMapper {
    List<Carousel> carouselPageList(PageQueryUtil pageQueryUtil);

    int getTotalCarousels(PageQueryUtil pageQueryUtil);

    int insertCarousel(Carousel carousel);

    int updateCarousel(Carousel carousel);

    int deleteCarouselByIds(int[] ids);

    List<Carousel> queryCarouselForIndex(int limit);
}
